package com.base.service.impl;

import com.base.mapper.voipmapper.UserAuthInfoMapper;
import com.base.po.voip.UserAuthInfo;
import com.base.service.UserAuthInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userAuthInfoService")
public class UserAuthInfoServiceImpl implements UserAuthInfoService {

    @Autowired
    private UserAuthInfoMapper userAuthInfoMapper;

    @Override
    public int insert(UserAuthInfo userAuthInfo) {
        return userAuthInfoMapper.insert(userAuthInfo);
    }

    @Override
    public int queryByIdcardNumber(String idcardNumber) {
        return userAuthInfoMapper.queryByIdcardNumber(idcardNumber);
    }
}
